﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="levelmisHis.aspx.cs" Inherits="pro_mis_misHis" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>专家：浏览历史任务</title>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <div id="content">
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:appConnectionString %>" 
                SelectCommand="SELECT levelmission.levelmissionid, levelmission.actor, levelmission.actorroleid, levelmission.projectid, levelmission.type, levelmission.state, project.projectname FROM levelmission INNER JOIN project ON levelmission.projectid = project.projectid WHERE (levelmission.actor = @username)">
                <SelectParameters>
                    <asp:SessionParameter Name="username" SessionField="username" />
                </SelectParameters>
            </asp:SqlDataSource>
            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlDataSource1" 
                ForeColor="#333333" GridLines="None" PageSize="5" Width="100%">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <Columns>
                    <asp:BoundField DataField="projectname" HeaderText="项目名称" 
                        SortExpression="projectname" />
                    <asp:BoundField DataField="type" HeaderText="任务类型" SortExpression="type" />
                    <asp:BoundField DataField="state" HeaderText="状态" SortExpression="state" />
                </Columns>
                <PagerStyle ForeColor="#003399" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#999999" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:GridView>
        </div>
    
    </div>
    </form>
</body>
</html>
